package com.carrey.cms_1810.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 作者 :
 * @version 
 * @Date 创建时间：2020-11-25 21:17:15
 * @Description 类说明 : TODO 
 */
public class Collect implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private Integer id;
	private String text;
	private String url;
	private Integer userId;
	private Date created;
	private Integer articleId;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public Integer getArticleId() {
		return articleId;
	}
	public void setArticleId(Integer articleId) {
		this.articleId = articleId;
	}
	public Collect(Integer id, String text, String url, Integer userId, Date created, Integer articleId) {
		super();
		this.id = id;
		this.text = text;
		this.url = url;
		this.userId = userId;
		this.created = created;
		this.articleId = articleId;
	}
	public Collect() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Collect [id=" + id + ", text=" + text + ", url=" + url + ", userId=" + userId + ", created=" + created
				+ ", articleId=" + articleId + "]";
	}
}
